package com.hualude.roadsign.model;

import javax.persistence.*;

/**
 * Created by shao-yikun on 2017/4/7.
 */
@Entity
@Table(name = "tb_actor_menu", schema = "hualude_db", catalog = "")
public class ActorMenuEntity {
    private Integer amId;
    private Integer actorId;
    private Integer menuId;
    private Integer menuType;
    private Integer powerInsert;
    private Integer powerDelete;
    private Integer powerUpdate;
    private Integer powerSelect;
    private Integer powerCheck;

    public ActorMenuEntity() {
    }

    public ActorMenuEntity(Integer amId, Integer menuId, Integer menuType, Integer powerInsert, Integer powerDelete, Integer powerUpdate, Integer powerSelect, Integer powerCheck) {
        this.amId = amId;
        this.menuId = menuId;
        this.menuType = menuType;
        this.powerInsert = powerInsert;
        this.powerDelete = powerDelete;
        this.powerUpdate = powerUpdate;
        this.powerSelect = powerSelect;
        this.powerCheck = powerCheck;
    }

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "AMId")
    public Integer getAmId() {
        return amId;
    }

    public void setAmId(Integer amId) {
        this.amId = amId;
    }

    @Basic
    @Column(name = "ActorId")
    public Integer getActorId() {
        return actorId;
    }

    public void setActorId(Integer actorId) {
        this.actorId = actorId;
    }

    @Basic
    @Column(name = "MenuId")
    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    @Basic
    @Column(name = "MenuType")
    public Integer getMenuType() {
        return menuType;
    }

    public void setMenuType(Integer menuType) {
        this.menuType = menuType;
    }

    @Basic
    @Column(name = "PowerInsert")
    public Integer getPowerInsert() {
        return powerInsert;
    }

    public void setPowerInsert(Integer powerInsert) {
        this.powerInsert = powerInsert;
    }

    @Basic
    @Column(name = "PowerDelete")
    public Integer getPowerDelete() {
        return powerDelete;
    }

    public void setPowerDelete(Integer powerDelete) {
        this.powerDelete = powerDelete;
    }

    @Basic
    @Column(name = "PowerUpdate")
    public Integer getPowerUpdate() {
        return powerUpdate;
    }

    public void setPowerUpdate(Integer powerUpdate) {
        this.powerUpdate = powerUpdate;
    }

    @Basic
    @Column(name = "PowerSelect")
    public Integer getPowerSelect() {
        return powerSelect;
    }

    public void setPowerSelect(Integer powerSelect) {
        this.powerSelect = powerSelect;
    }

    @Basic
    @Column(name = "PowerCheck")
    public Integer getPowerCheck() {
        return powerCheck;
    }

    public void setPowerCheck(Integer powerCheck) {
        this.powerCheck = powerCheck;
    }

}
